package com.jyw.business.obstacles.domain.dto.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jyw.business.obstacles.enums.TempEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 沈峻
 * @ClassName ServerPageDto
 * @Description 服务台电话报修分页查询
 * @Date 2023/8/15 17:05
 **/
@ApiModel("服务台电话报修分页查询")
@Data
public class ServerCallPageDto {

    @ApiModelProperty("模板")
    private TempEnum temp;

    @ApiModelProperty("关键词")
    private String keyword;

    @ApiModelProperty("接听情况 0已接 2未接")
    private Integer callType;

    @ApiModelProperty(value = "来电开始时间",example = "2023-08-16")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createInfoStartDate;

    @ApiModelProperty(value = "来电结束时间",example = "2023-08-16")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createInfoEndDate;

    @ApiModelProperty("处置类型")
    private String dealType;

    @ApiModelProperty("报修院区")
    private List<Long> hospitalList;

    @ApiModelProperty("坐席人/所找人员")
    private List<Long> userList;

    /** 排序字段 */
    @ApiModelProperty(value = "排序字段，字段驼峰名称，如：userName")
    private String sortField;

    /** 排序方式 */
    @ApiModelProperty(value = "排序方式，升序：ASCEND；降序：DESCEND")
    private String sortOrder;

    @ApiModelProperty(value = "工单编号集合")
    private List<String> orderNumList;
}
